package com.cib.icarus.desensitize.annotation.internals;



import com.cib.icarus.desensitize.annotation.PatternDesensitize;

import java.lang.annotation.*;

/**
 * 电子邮箱脱敏注解
 *
 * @author goomba
 */
@Documented
@Target(ElementType.FIELD)
@Retention(RetentionPolicy.RUNTIME)
@PatternDesensitize(regex = "^(^\\w{1,2})(\\w+)@(.*)(\\..*$)", replacement = "$1****$3$4")
public @interface EmailDesensitize {
}
